package org.electrical.dao;

import org.apache.ibatis.annotations.Param;
import org.electrical.pojo.EleCustomer;
import org.electrical.pojo.EleOrder;

import java.util.List;
import java.util.Map;

public interface EleOrderDao extends CommonDao<EleOrder, Integer> {

    /**
     * 根据客户ID查询
     */
    public List<EleOrder> getByCusId(String cusId);

    /**
     * 获取流失预警的客户
     */
    public List<EleOrder> getLossCus();

    /**
     * 客户贡献分析
     */
    public List<EleOrder> getOffer(@Param(value = "name")String name);

}
